<div class="groups-update-hook">
    <div class="title">
        当前位置：运营管理&nbsp;->&nbsp;分组管理&nbsp;->&nbsp;<span class="active">修改分组</span>
    </div>
    <div class="detail-header fr">
        <h3 class="choice">修改分组</h3>
        <!--<a class="primary_btn margin0" @click.stop="goBack()">返回</a>
        <button type="submit" class="primary_btn">保存</button>-->
    </div>
    <div class="inner-wrapper">
        <form class="update-form-hook" method="post">
            <div class="row" style="border-radius: 5px;">
                <div class="col-sm-6">
                    <label class="control-label">分组编号</label>
                    <input type="text" name="groupCode" class="form-control" v-model="account.groupCode" readonly>
                </div>
                <div class="col-sm-6">
                    <label class="control-label">分组名称</label>
                    <input type="text" name="groupName" class="form-control" v-model="account.groupName">
                </div>
            </div>
            <div class="row dual">
                <div class="col-sm-6">
                    <label class="control-label">单灯数量</label>
                    <input type="text" name="lightCnt" class="form-control" v-model="account.lightCnt" readonly>
                </div>
                <div class="col-sm-6">
                    <label class="control-label">所属项目</label>
                    <input type="text" name="proName" class="form-control" v-model="account.proName" readonly>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <label class="control-label">&nbsp;&nbsp;&nbsp;&nbsp;维护人</label>
                    <input type="text" name="userName" class="form-control" v-model="account.userName">
                </div>
                <div class="col-sm-6">
                    <a type="button" class="primary_btn" @click.stop="lightPlan">编辑照明计划</a>
                </div>
            </div>
            <div class="row dual">
                <div class="col-sm-12">
                    <label class="control-label">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;备注</label>
                    <textarea name="groupNote" maxlength="500" placeholder="请输入备注，最大500字" class="form_control" v-model="account.groupNote"></textarea>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <label class="control-label">转移目标分组</label>
                    <select class="form-control" name="roleName">
                        <option value="">全部</option>
                        <!--<option v-for="(role,index) in roleList" :value="role.roleName" v-text="role.roleName"></option>-->
                    </select>
                    <a type="button" class="primary_btn" @click.stop="createBtn">新建分组</a>
                </div>
                <div class="col-sm-6">
                    <a type="button" class="primary_btn" @click.stop="transfersBtn">转移分组</a>
                </div>
            </div>
            <div class="row dual">
                <div class="custom-table-wrapper" style="padding-top: 10px;padding-bottom: 0;">
                    <table class="custom-table groupsDetail-table-hook"></table>
                </div>
            </div>
            <div class="row noprint form-center">
                <button class="primary_btn" @click.stop="saveEdit">确认</button>
                <a class="default_btn"  @click.stop="goBack">取消</a>
            </div>
        </form>
    </div>
</div>
<script type="text/javascript" src="js/back/operate/groups/groups_update.js" custom></script>